//
//  TicketRecordModel.m
//  Shengzhuli
//
//  Created by FXGuo on 2018/2/12.
//  Copyright © 2018年 kamangkeji. All rights reserved.
//

#import "TicketRecordModel.h"

@implementation TicketRecordModel

- (instancetype)initWithDict:(NSDictionary *)dict
{
    if (self = [super init]) {
        self.personNum = [dict[@"personNum"] integerValue];
        self.clubCommodityName = dict[@"clubCommodityName"];
        self.tripDate = dict[@"tripDate"];
        self.price = [dict[@"price"] floatValue];
    }
    return self;
}

+ (instancetype)objectWithDict:(NSDictionary *)dict
{
    return [[TicketRecordModel alloc]initWithDict:dict];
}

@end
